package com.kmzx.one.project.mapper;

import com.kmzx.one.project.entity.WxPayOrder;
import com.kmzx.one.project.others.dto.WXSeaInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

/**
 * @Project one
 * @Author: carol
 * @Date: 2020/5/21-14:48
 */
@Mapper
@Component
public interface WxPayMapper {

    void insertWxPayOrder(WxPayOrder wxPayOrder);

    void updateWxPayOrderByIdSel(WxPayOrder wxPayOrder);

    WxPayOrder selectById(@Param("id") String id);

    WXSeaInfo selectPreSendInfo(@Param("orderId") String orderId);

}
